import lib.problem as problem

class Problem005(problem.Problem):
	def __init__(self):
		problem.Problem.__init__(self, 5)
		
	def solve(self):
		i = 20
		found = False
		
		divisors = range(11,21)
		divisors.reverse()
		
		
		while not found:
			isDivisible = True
			for d in divisors:
				if not i % d == 0:
					isDivisible = False
					break
			if isDivisible:
				return i
				break
			
		
			i += 2


if __name__ == "__main__":
	print(Problem005().solveAndTime())